﻿namespace Yz.Base
{

    /// <summary>
    ///     datetime转换字符串时的格式
    /// </summary>
    public struct DateFormat
    {
        /// <summary>
        ///     HH:mm
        /// </summary>
        public const string Hm = "HH:mm";

        /// <summary>
        ///     HH:mm:ss
        /// </summary>
        public const string Hms = "HH:mm:ss";

        /// <summary>
        ///     mm:ss
        /// </summary>
        public const string ms = "mm:ss";

        /// <summary>
        ///     yyyy-MM
        /// </summary>
        public const string yM = "yyyy-MM";

        /// <summary>
        ///     yyyyMM
        /// </summary>
        public const string yM1 = "yyyyMM";

        /// <summary>
        ///     yyyy-MM-dd
        /// </summary>
        public const string yMd = "yyyy-MM-dd";

        /// <summary>
        ///     yyyy/MM/dd
        /// </summary>
        public const string yMd1 = "yyyy/MM/dd";
        /// <summary>
        ///  yyyyMMddHH
        /// </summary>
        public const string yMdH = "yyyyMMddHH";
        /// <summary>
        ///     yyyy-MM-dd HH:mm
        /// </summary>
        public const string yMdHm = "yyyy-MM-dd HH:mm";

        /// <summary>
        ///     yyyy/MM/dd HH:mm
        /// </summary>
        public const string yMdHm1 = "yyyy/MM/dd HH:mm";

        /// <summary>
        ///     yyyy-MM-dd HH:mm:ss
        /// </summary>
        public const string yMdHms = "yyyy-MM-dd HH:mm:ss";

        /// <summary>
        ///     yyyy/MM/dd HH:mm:ss
        /// </summary>
        public const string yMdHms1 = "yyyy/MM/dd HH:mm:ss";
    }
}
